﻿<elysium:Window x:Class="PresentationAid.MainWindow" WindowStyle="SingleBorderWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:tb="clr-namespace:Hardcodet.Wpf.TaskbarNotification;assembly=Hardcodet.Wpf.TaskbarNotification"
        xmlns:elysium="http://schemas.codeplex.com/elysium"
        xmlns:params="http://schemas.codeplex.com/elysium/params" 
        xmlns:local="clr-namespace:PresentationAid.Tabs"
        params:Manager.Theme="Light"
        params:Manager.AccentBrush="{x:Static elysium:AccentBrushes.Blue}"
        params:Manager.ContrastBrush="White"
        Background="{DynamicResource BackgroundBrush}"
        Title="" Height="600" Width="800" MinWidth="800" MinHeight="600" MaxWidth="1024" MaxHeight="768" Closing="WindowClosing" ResizeMode="NoResize" Icon="Resources/Icons/presentation-aid-icon-32.ico">    
    <Grid>
        <tb:TaskbarIcon x:Name="NotifyIcon" IconSource="/Resources/Icons/presentation-aid-icon.ico" ToolTipText="PresentationAid - Loading" TrayMouseDoubleClick="NotifyIconTrayMouseDoubleClick">
            <tb:TaskbarIcon.ContextMenu>
                <ContextMenu>
                    <MenuItem x:Name="TrayMenuStatus" Header="Loading..." IsEnabled="False" />
                    <Separator />
                    <MenuItem x:Name="PresentationTrayMenuItem" Header="Presentation" FontWeight="Bold" Click="PresentationTrayMenuItemClick" />
                    <MenuItem x:Name="KinectTrayMenuItem" Header="Kinect" Click="KinectTrayMenuItemClick" />
                    <Separator />
                    <MenuItem x:Name="WebsiteTrayMenuItem" Header="PresentationAid Website" Click="WebsiteTrayMenuItemClick" />
                    <MenuItem x:Name="UpdateTrayMenuItem" Header="Check for updates ..." />
                    <Separator />
                    <MenuItem x:Name="SettingsTrayMenuItem" Header="Settings" Click="SettingsTrayMenuItemClick" />
                    <MenuItem x:Name="HelpTrayMenuItem" Header="Help" Click="HelpTrayMenuItemClick" />
                    <MenuItem x:Name="AboutTrayMenuItem" Header="About" Click="AboutTrayMenuItemClick" />
                    <Separator />
                    <MenuItem x:Name="QuitTrayMenuItem" Header="Quit PresentationAid" Click="QuitTrayMenuItemClick" />
                </ContextMenu>
            </tb:TaskbarIcon.ContextMenu>
        </tb:TaskbarIcon>

        <TabControl Name="MainTabControl" Margin="{Binding RelativeSource={RelativeSource Self}, Path=(params:General.BoldPadding), Mode=OneWay}">
            <TabItem Header="presentation">
                <local:PresentationTab x:Name="PresentationTabElement" />
            </TabItem>
            <!-- Kinect Tab -->
            <TabItem Header="kinect">
                <local:KinectTab x:Name="KinectTabElement" />
            </TabItem>
            <!-- End Kinect Tab -->
            <TabItem Header="settings">
                <local:SettingsTab x:Name="SettingsTabElement" />
            </TabItem>
            <TabItem Header="debug" x:Name="DebugTab">
                <local:DebugTab x:Name="DebugTabElement" />
            </TabItem>
        </TabControl>
    </Grid>
</elysium:Window>
